/**
 * @Author: Bobby
 * @Date: 2022-02-15 13:14:17
 * @LastEditTime: 2022-03-01 10:19:39
 * @LastEditors: Bobby
 * @Description:
 * @FilePath: \wms-v2\src\ve\common\components\baseComs\other\uiSlider.js
 * @CIMC-V2
 */
import { exSwitch, exInput, exSizeSelect, exInputNumber } from '@ve/common/components/extension'

export default {
  VERSION: '20220408',
  type: 'uiSlider',
  name: '滑块',
  icon: 'equalizer-line',
  svg: 'huakuai',
  //数据别名
  // dataName: 'uiSlider_data',
  //扩展
  extension: {
    model: exInput('Model', 'slider_name'),
    min: exInputNumber('最小值', 0),
    max: exInputNumber('最大值', 100),
    inputSize: exSizeSelect('大小', 'medium'),
    showStops: exSwitch('显示间断点', false),
    showTooltip: exSwitch('显示tooltip', true),
    disabled: exSwitch('是否禁用', false),
    vertical: exSwitch('竖向模式', false),
    showInput: exSwitch('显示输入框', false),
    height: exInput('高度', '200px'),
    stepInput: exInput('步长', 1),
  },
  //交互
  interaction: [],
  //条件、逻辑指令
  logicInstruction: [],
}
